package com.bwie.auth.remote;

import com.bwie.common.domain.User;
import com.bwie.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("bwie-user")
public interface InvokeUserController {
    /**
     * 根据用户名查询
     */
    @PostMapping("/user/QueryByUserName")
    public Result<User> QueryByUserName(@RequestParam String userName);
}
